package com.yeyks.common.appcommon.param.finance;

import com.yeyks.common.appcommon.result.CommonAuthHeader;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/7/11 0011 19:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "修改订单的状态信息的输入参数")
public class UpdateWithdrawalParam extends CommonAuthHeader implements Serializable {
    private static final long serialVersionUID = -7444048080358591317L;

    @ApiModelProperty("订单号")
    @NotBlank(message = "订单号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "状态 2审核通过，4打款成功，5打款失败，6已拒绝",allowableValues = "2,4,5,6")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @ApiModelProperty("备注(拒绝理由时需要填写)")
    private String remark;

    @ApiModelProperty(value = "类型(0营业提现, 1床垫分成提现, 2vip佣金提现)")
    //@NotNull(message = "提现类型不能为空")
    private Integer type;

}
